#ifndef __FORMIMPL_HPP__
#define __FORMIMPL_HPP__

#include "ControlImpl.hpp"

namespace Gui
{
	class FormImpl : public virtual ControlImpl
	{
    private:
        RevEng::ObjRef<RevEng::Event> m_pClose;
	    
	public:
        FormImpl();
		virtual ~FormImpl();
		virtual bool DoEvents() = 0;

        RevEng::Event* GetCloseEvent() const;

		//Crea una instancia del formulario
		static FormImpl* Create();
	};
}

#endif	//__FORMIMPL_HPP__
